package org.qiyu.live.im.core.server.interfaces;

import org.qiyu.live.im.dto.ImMsgBody;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-10-12
 * Time: 20:12
 */
public interface IMRouterHandlerRpc {
    /**
     * 接收单个客户端的消息
     * @param imMsgBody 消息
     */
    void onReceive(ImMsgBody imMsgBody);

    void batchOnReceive(List<ImMsgBody> imMsgBodyList);
}